CheckIpSegment
Description
Check whether the monitoring network segment to be added meets the specifications. Before adding a monitoring network segment, you need to call this API to check whether the network segment is compliant. If the API request returns successfully, the CIDR block in the request parameter can be added.
Request Method
POST
Request Path
/apsara/route/Ddosprivate/CheckIpSegment
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
IpSegmentName | BODY | string | Yes | No sample value for this parameter. | the network segment to be detected, in the format of x.x.x.x/x, for example, 172.21.23.222/24. |
InfoName | BODY | string | No | No sample value for this parameter. | identifies the relevant information of the network segment in combination with the values of InfoType parameters. For example, for the distribution information type, enter the DXJF value to indicate that the network segment belongs to the Daxing data center area. |
InfoType | BODY | string | No | No sample value for this parameter. | the type of information about this network segment. For example, distribution can be used to represent area information. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | no demo value | request ID. |
Example
Successful Response example
{
"RequestId":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}